double *p = D;
while(*p) p++;
// zpracovn p
